var myList = new List<string> { "foo", "bar" }; //Alternatively var myArray = new[]{ "foo", "bar" };